<div class="ui_table">
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td align="right">电池序号：</td>
            <td><input type="text" class="text easyui-validatebox" value="${(entity.id)!''}"/></td>
            <td align="right">外壳编号：</td>
            <td><input type="text" class="text easyui-validatebox" value="${(entity.shellCode)!''}"/></td>
        </tr>
        <tr>
            <td align="right">电池组序号：</td>
            <td><input type="text" class="text easyui-validatebox" value="${(entity.packNo)!''}"/></td>
            <td align="right">厂商：</td>
            <td><input type="text" class="text easyui-validatebox"
                       value="${(entity.supplierName)!''}"/></td>
        </tr>
         <#--新增：点击查看，查看运营商和代理商-->
        <tr>
            <td align="right">运营商：</td>
            <td>
                <input type="text" class="text easyui-validatebox" editable="false"
                       value="${(agentName)!''}"/></td>
            <td align="right">代理商：</td>
            <td>
                <input type="text" class="text easyui-validatebox" editable="false"
                       value="${(agencyName)!''}"/></td>
        </tr>
        <tr>
            <td align="right">对应订单：</td>
            <td><input type="text" class="text easyui-validatebox"
                       value="${(entity.orderId)!''}"/></td>
            <td align="right">对应终端：</td>
            <td><input type="text" class="text easyui-validatebox"
                       value="${(entity.lastCabinetId)!''}"/></td>
        </tr>
        <tr>
            <td align="right">剩余电量：</td>
            <td><input type="text" class="text easyui-validatebox" value="<#if entity.socVolume??&&entity.socVolume!=0>${entity.socVolume}%<#else>0%</#if>"/></td>
            <td align="right">使用次数：</td>
            <td><input type="text" class="text easyui-validatebox" value="${(entity.exchangeAmount)!''}"/></td>
        </tr>
        <tr>
            <td align="right">状态：</td>
            <td>
                <input type="text" class="text easyui-validatebox"
                       value="${(entity.statusName)!''}"/>
            </td>
            <td align="right">充电阶段：</td>
            <td><input type="text" class="text easyui-validatebox" value="<#if entity.chargeStage??><#if entity.chargeStage==1>未充满<#else>已充满</#if></#if>"/></td>

        </tr>
        <tr>
            <td align="right">行驶距离(单次/总共)：</td>
            <td>
                <input type="text" class="text easyui-validatebox"
                       value="${(entity.mileage)!''}/${entity.totalMileage}"/>
            </td>
            <td align="right">健康度：</td>
            <td><input type="text" class="text easyui-validatebox" value="${(entity.healthy)!''}"/></td>

        </tr>
        <tr>
            <td align="right">对应客户：</td>
            <td><input type="text" class="text easyui-validatebox"
                       value="${(realName)!''}"/>
            </td>
            <td align="right">温度：</td>
            <td><input type="text" class="text easyui-validatebox"
                       value="${(entity.temp)!''}"/>
            </td>
        </tr>
        <tr>
            <td align="right">刷新时间：</td>
            <td><input type="text" class="text easyui-validatebox"
                       value="<#if entity.refreshTime??> ${app.format_date_time(entity.refreshTime)}</#if>"/>
            </td>
            <td align="right">创建时间：</td>
            <td><input type="text" class="text easyui-validatebox" value="${app.format_date_time(entity.createTime)}"/>
            </td>
        </tr>
    </table>
</div>
<div class="popup_btn">
    <button class="btn btn_border close">关闭</button>
</div>

<script>
    (function () {
        var win = $('#${pid}');
        win.find('.close').click(function () {
            win.window('close');
        });
    })();
</script>


